package com.pactera.madp.cp.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "wxproxy")
public class WxProxyConfig {

    private static String ip;

    private static Integer port;

    private static Boolean enabled;

    public void setIp (String ip) {
        this.ip = ip;
    }

    public static String getIp() {
        return ip;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public static Integer getPort() {
        return port;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public static Boolean isEnabled() {
        return enabled;
    }

}
